package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Created by zhangyang on 2017/12/18.
 * 圣代_提现账户_实体
 */
@Entity(value="SundayAccount", noClassnameStored=true)
public class SundayAccount extends BaseMongoEntity {

    private Long memberId;//用户id
    private int type;//类别:1-银行卡,2-支付宝,3-微信
    private String realName;//真实姓名
    private String phone;//手机号码
    private String bankName;//银行名称
    private String openingBank;//开户行
    private String account;//账号,如果是银行卡则为银行卡号,支付宝则是支付宝账号,以此类推.
    private String logo;//logo路径

    public SundayAccount(Long memberId, int type, String realName, String phone, String bankName, String openingBank, String account, String logo) {
        this.memberId = memberId;
        this.type = type;
        this.realName = realName;
        this.phone = phone;
        this.bankName = bankName;
        this.openingBank = openingBank;
        this.account = account;
        this.logo = logo;
    }

    public SundayAccount(){}

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getOpeningBank() {
        return openingBank;
    }

    public void setOpeningBank(String openingBank) {
        this.openingBank = openingBank;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }
}
